package com.example.canal.common.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2021/8/8 22:00
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Component
public @interface DbChangeAnalyse {

    /**
     * tableName
     *
     * @return
     */
    String tableName() default "";

    /**
     * 描述
     *
     * @return
     */
    String desc() default "";


}
